<?php
if(!defined('____ex_admin_config_php____')){
	include_once 'debug_function.php';
	define('____ex_admin_config_php____', true);
	define ( '__documents_root__', $_SERVER['DOCUMENT_ROOT'] );
	
	session_start ();
	if (isset ( $_SESSION ['DB_SERVER'] )) {
		define ( 'DB_SERVER', $_SESSION ['DB_SERVER'] );
	}
	if (isset ( $_SESSION ['DB_SERVER_USERNAME'] )) {
		define ( 'DB_SERVER_USERNAME', $_SESSION ['DB_SERVER_USERNAME'] );
	}
	if (isset ( $_SESSION ['DB_SERVER_PASSWORD'] )) {
		define ( 'DB_SERVER_PASSWORD', $_SESSION ['DB_SERVER_PASSWORD'] );
	}
	if (isset ( $_SESSION ['DB_DATABASE'] )) {
		define ( 'DB_DATABASE', $_SESSION ['DB_DATABASE'] );
	}
	
	define ( '__PROJECT_ROOT', __DIR__ . '/..' );
	define ( '__UTIL_ROOT', __PROJECT_ROOT . '/Util' );
	define ( '__DATA_OBJECT_DIR', __PROJECT_ROOT . '/dataObjects' );
}
?>